<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>卖出列表</title>
<script type="text/javascript" src="../scripts/itsm/business/sellIng.js"></script>
</head>
<body>
<div id="" style="display:none;" >
<form id="sell_search_form">
<br>
卖出会员：<input name="sellQueryDTO.sellUser" value="">
状态：<select name="sellQueryDTO.status">
	<option value="">ALL</option>
	<option value="0">卖出中</option>
	<option value="1">已买入</option>
	<option value="2">交易成功</option>
	<option value="4">已取消</option>
</select>
<a onclick="itsm.business.sell.search()" class="easyui-linkbutton" icon="icon-search" plain="true">搜索</a>
</form>
</div>

<div  id="sellIngGridToolbar" style="padding: 0px;display: none;">
	<a onclick="itsm.business.sellIng.changeOrder()" class="easyui-linkbutton" icon="" plain="true">调整顺序</a>
	<a onclick="itsm.business.sellIng.addSell()" class="easyui-linkbutton" icon="" plain="true">新增</a>
	<a onclick="itsm.business.sellIng.editSellOrder()" class="easyui-linkbutton" icon="" plain="true">修改</a>
</div>

<div title="调整顺序" id="changeOrder_win" class="easyui-window" closed="true" collapsible="false" modal="false" minimizable="false" maximizable="false" collapsible="false" style="width:400px; height:auto;padding:3px">
	<form id="changeOrder_form">
		<input type="hidden" name="sellDTO.id" id="sell_id" /><br>
		<input type="text" name="sellDTO.priority" id="sell_priority" /><br>
		<input type="text" name="sellDTO.createDate" id="sell_createDate" /><br>
		<a class="easyui-linkbutton" icon="icon-save" id="link_changeOrder_save" href="javascript:itsm.business.sellIng.changeOrderOpt()">保存</a>
	</form>
</div>	

<div title="修改" id="editSellOrder_win" class="easyui-window" closed="true" collapsible="false" modal="false" minimizable="false" maximizable="false" collapsible="false" style="width:400px; height:auto;padding:3px">
	<form id="editSellOrder_form">
		<input type="hidden" name="sellDTO.id" id="editsell_id" /><br>
		<input type="hidden" name="sellDTO.remark" value="edit" />
		<input type="text" name="sellDTO.sellPrice" id="sell_sellPrice" /><br>
		<input type="text" name="sellDTO.sellMoney" id="sell_sellMoney" /><br>
		<a class="easyui-linkbutton" icon="icon-save" id="link_changeOrder_save" href="javascript:itsm.business.sellIng.editOrderOpt()">保存</a>
	</form>
</div>	

<div title="新增" id="addSell_win" class="easyui-window" closed="true" collapsible="false" modal="false" minimizable="false" maximizable="false" collapsible="false" style="width:400px; height:auto;padding:3px">
	<form id="addSell_form">
		账号：<input type="text" name="sellDTO.sellUser" /><br>
		股数：<input type="text" name="sellDTO.sellMoney" /><br>
		股价：<input type="text" name="sellDTO.sellPrice" value="0.1"/><br>
		优先级：<input type="text" name="sellDTO.priority" value="0" /><br>
		<a class="easyui-linkbutton" icon="icon-save" id="link_addSell_save" href="javascript:itsm.business.sellIng.addSellOpt()">保存</a>
	</form>
</div>	


<table id='sellIngGrid'></table>
<div id='sellIngPager'></div>
</body>
</html>